package org.lqq.configLoader;

import org.lqq.config.LoadBalancerConfig;
import org.lqq.config.RemoteClientConfig;
import org.lqq.config.ServerFinderAndRegisterConfig;
import org.lqq.config.impl.DefaultServerFinderAndRegisterConfig;
import org.lqq.config.impl.FeignConfig;
import org.lqq.config.impl.RibbonLoadBalanceConfig;

/**
 * Created by 李清泉 on 2017/10/26.
 *
 * @remark
 */
public class ClassConfigLoader extends AbstractConfigLoader {


    public LoadBalancerConfig loadLoadBalancerConfig() {
        return new RibbonLoadBalanceConfig();
    }

    public RemoteClientConfig loadRemoteClientConfig() {
        return new FeignConfig();
    }

    public ServerFinderAndRegisterConfig loadServerFinderAndRegisterConfig() {

        return new DefaultServerFinderAndRegisterConfig();
    }
}
